<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<!--Generated on Tue Jun  3 20:03:52 2014 by LaTeXML (version 0.7.999_04) http://dlmf.nist.gov/LaTeXML/.-->

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../../../LaTeXML.css" type="text/css">
<link rel="stylesheet" href="../../../../../../../ltx-article.css" type="text/css">
<link rel="stylesheet" href="../../../../../../../customRules.css" type="text/css">
</head>
<body>
<div class="ltx_page_main">
<div class="ltx_page_content">
<div class="ltx_document">
<div id="Sx1" class="ltx_section">
<h1 class="ltx_title ltx_title_section">Median filter</h1>

<div id="Sx1.p1" class="ltx_para">
<p class="ltx_p">A median filter is a non-linear image filter often used to remove
impulse noise (i.e., salt and pepper noise). The value of each pixel
in the resulting image is equal to the median of the intensity values
from the original image in a given neighborhood. If the neighborhood
mask has an odd number of entries, the median is the middle element
of all numerically sorted entries. For an even number of entries,
the median is calculated as the mean of the two entries in the middle.
Users need to input the kernel size and the type of neighborhood mask,
which can be a cross (4-connected) or box (8-connected) pattern.</p>
</div>
<div id="Sx1.SSx1" class="ltx_subsection">
<h2 class="ltx_title ltx_title_subsection">Threshold for approximate localization of molecules</h2>

<div id="Sx1.SSx1.p1" class="ltx_para">
<p class="ltx_p">The <a href="../../detectors/Threshold.html" title="" class="ltx_ref">threshold</a> value can be
specified by users as an expression combining mathematical functions
and operators with variables based on the current raw or filtered
image. Variables provided by this filter are:</p>
</div>
<div id="Sx1.SSx1.p2" class="ltx_para">
<table class="ltx_tabular ltx_align_middle">
<tbody class="ltx_tbody">
<tr class="ltx_tr">
<td class="ltx_td ltx_align_left"><span class="ltx_text ltx_font_typewriter">Med.I</span></td>
<td class="ltx_td ltx_align_left">current raw input image</td>
</tr>
<tr class="ltx_tr">
<td class="ltx_td ltx_align_left"><span class="ltx_text ltx_font_typewriter">Med.F</span></td>
<td class="ltx_td ltx_align_left">corresponding filtered image</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="Sx1.SSx2" class="ltx_subsection">
<h2 class="ltx_title ltx_title_subsection">See also</h2>

<div id="Sx1.SSx2.p1" class="ltx_para">
<ul id="I1" class="ltx_itemize">
<li id="I1.i1" class="ltx_item" style="list-style-type:none;">
<span class="ltx_tag ltx_tag_itemize">•</span> 
<div id="I1.i1.p1" class="ltx_para">
<p class="ltx_p"><a href="Filters.html" title="" class="ltx_ref">Image filtering and feature enhancement</a></p>
</div>
</li>
<li id="I1.i2" class="ltx_item" style="list-style-type:none;">
<span class="ltx_tag ltx_tag_itemize">•</span> 
<div id="I1.i2.p1" class="ltx_para">
<p class="ltx_p"><a href="../../detectors/Detectors.html" title="" class="ltx_ref">Finding approximate positions of molecules</a></p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="ltx_page_footer">
<div class="ltx_page_logo">Generated  on Tue Jun  3 20:03:52 2014 by <a href="http://dlmf.nist.gov/LaTeXML/">LaTeXML <img src="" alt="[LOGO]"></a>
</div>
</div>
</div>
</body>
</html>
